/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package cl.orientesalud.pruebas;

import cl.orientesalud.bd.ConectaBD;
import cl.orientesalud.util.OrienteLog;
import java.sql.SQLException;
import org.apache.log4j.Logger;


/**
 *
 * @author nicolas
 */
public class PruebaConexion {
    
    public static void main(String[] args){
        Logger logger=OrienteLog.obtenerLogger(PruebaConexion.class);
        try {
            ConectaBD.getInstance();
        } catch (ClassNotFoundException ex) {
            logger.debug("Excepcion:"+ex.getMessage());
        } catch (InstantiationException ex) {
            logger.debug("Excepcion:"+ex.getMessage());
        } catch (IllegalAccessException ex) {
           logger.debug("Excepcion:"+ex.getMessage());
        } catch (SQLException ex) {
            logger.debug("Excepcion:"+ex.getMessage());
        }
    }
    
}
